// <copyright file="Enums.cs" company="YUIAsp.Net">
// Copyright (c) 2009 All Right Reserved
// </copyright>
// <author>raul popescu</author>
// <email>dev@yuiasp.net</email>
// <date>2009-01-30</date>
// <summary>YUIAsp.Net File</summary>

namespace YUIAspNet
{
    /// <summary>
    /// Name of the yui script file
    /// </summary>
    internal enum YUIScriptName
    {
        /// <summary>
        /// None defined
        /// </summary>
        Unknown,
        /// <summary>
        /// yahoo.js
        /// </summary>
        Yahoo,
        /// <summary>
        /// dom.js
        /// </summary>
        Dom,
        /// <summary>
        /// json.js
        /// </summary>
        Json,
        /// <summary>
        /// animation.js
        /// </summary>
        Animation,
        /// <summary>
        /// event.js
        /// </summary>
        Event,
        /// <summary>
        /// element.js
        /// </summary>
        Element,
        /// <summary>
        /// logger.js
        /// </summary>
        Logger,
        /// <summary>
        /// yahoo-dom-event.js
        /// </summary>
        YahooDomEvent,
        /// <summary>
        /// dragdrop.js
        /// </summary>
        DragDrop,
        /// <summary>
        /// slider.js
        /// </summary>
        Slider,
        /// <summary>
        /// colorpicker.js
        /// </summary>
        ColorPicker,
        /// <summary>
        /// container.js
        /// </summary>
        Container,
        /// <summary>
        /// button.js
        /// </summary>
        Button,
        /// <summary>
        /// treeview.js
        /// </summary>
        TreeView,
        /// <summary>
        /// tabview.js
        /// </summary>
        TabView,
        /// <summary>
        /// menu.js
        /// </summary>
        Menu,
        /// <summary>
        /// calendar.js
        /// </summary>
        Calendar,
        /// <summary>
        /// datasource.js
        /// </summary>
        DataSource,
        /// <summary>
        /// autocomplete.js
        /// </summary>
        AutoComplete,
        /// <summary>
        /// carousel.js
        /// </summary>
        Carousel,
        /// <summary>
        /// charts.js
        /// </summary>
        Charts,
        /// <summary>
        /// datatable.js
        /// </summary>
        DataTable,
        /// <summary>
        /// imagecropper.js
        /// </summary>
        ImageCropper,
        /// <summary>
        /// paginator.js
        /// </summary>
        Paginator,
        /// <summary>
        /// richtexteditor.js
        /// </summary>
        RichTextEditor,
        /// <summary>
        /// uploader.js
        /// </summary>
        Uploader,
        /// <summary>
        /// connection.js
        /// </summary>
        Connection,
        /// <summary>
        /// layout.js
        /// </summary>
        Layout,
        /// <summary>
        /// resize.js
        /// </summary>
        Resize,
        /// <summary>
        /// tooltip - no custom script
        /// </summary>
        Tooltip
    }

    /// <summary>
    /// Script loading mode.
    /// </summary>
    public enum ScriptMode
    {
        /// <summary>
        /// Readable script, with no comments and logging
        /// </summary>
        Raw,
        /// <summary>
        /// Debugable script, with comments and logging.
        /// </summary>
        Debug,
        /// <summary>
        /// Minified version, no comments, no logging.
        /// </summary>
        Minimized
    }

    /// <summary>
    /// Type of the button
    /// </summary>
    public enum ButtonType
    {
        /// <summary>
        /// Regular clickable button
        /// </summary>
        Regular,
        /// <summary>
        /// Link button
        /// </summary>
        Link,
        /// <summary>
        /// Checkbox button
        /// </summary>
        Checkbox,
        /// <summary>
        /// Menu button
        /// </summary>
        Menu,
        /// <summary>
        /// Split button
        /// </summary>
        Split
    }

    /// <summary>
    /// Defines the slider orientation
    /// </summary>
    public enum SliderOrientation
    {
        /// <summary>
        /// Vertical orientation
        /// </summary>
        Vertical,
        /// <summary>
        /// Horizontal orientation
        /// </summary>
        Horizontal
    }

    /// <summary>
    /// Defines the position of the tabs.
    /// </summary>
    public enum TabPosition
    {
        /// <summary>
        /// Top
        /// </summary>
        Top,
        /// <summary>
        /// Left
        /// </summary>
        Left,
        /// <summary>
        /// Right
        /// </summary>
        Right,
        /// <summary>
        /// Bottom
        /// </summary>
        Bottom
    }

    /// <summary>
    /// Defines the position of the layout unit
    /// </summary>
    public enum LayoutPosition
    {
        /// <summary>
        /// Positioned at the top
        /// </summary>
        Top,
        /// <summary>
        /// Positioned at the bottom
        /// </summary>
        Bottom,
        /// <summary>
        /// Positioned in the left
        /// </summary>
        Left,
        /// <summary>
        /// Positioned in the right
        /// </summary>
        Right,
        /// <summary>
        /// Positioned in the center
        /// </summary>
        Center
    }

    /// <summary>
    /// Defines the type of menu.
    /// </summary>
    public enum MenuType
    {
        /// <summary>
        /// Dynamic menu, hidden by default
        /// </summary>
        Dynamic,
        /// <summary>
        /// Vertical menu
        /// </summary>
        Vertical,
        /// <summary>
        /// Horizontal menu
        /// </summary>
        Horizontal,
        /// <summary>
        /// Context menu, visible on right-click
        /// </summary>
        Context
    }

    /// <summary>
    /// The type of underlay to use
    /// </summary>
    public enum Underlay
    {
        /// <summary>
        /// No underlay
        /// </summary>
        None,
        /// <summary>
        /// Shadow
        /// </summary>
        Shadow,
        /// <summary>
        /// Matte underlay
        /// </summary>
        Matte
    }

    /// <summary>
    /// The icon to use for the dialog
    /// </summary>
    public enum DialogIcon
    {
        /// <summary>
        /// Help icon
        /// </summary>
        Help,
        /// <summary>
        /// Tip icon
        /// </summary>
        Tip,
        /// <summary>
        /// Warning icon
        /// </summary>
        Warning,
        /// <summary>
        /// Info icon
        /// </summary>
        Info,
        /// <summary>
        /// Block icon
        /// </summary>
        Block,
        /// <summary>
        /// Alarm icon
        /// </summary>
        Alarm
    }

    /// <summary>
    /// Type of the datasource.
    /// </summary>
    public enum DataSourceType
    {
        /// <summary>
        /// Default value.
        /// </summary>
        Unknown,
        /// <summary>
        /// Local data source
        /// </summary>
        Local,
        /// <summary>
        /// Remote data source
        /// </summary>
        Remote,

        /// <summary>
        /// HTML Table data source
        /// </summary>
        HtmlTable
    }
}
